package com.blb.zycommunity.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.zycommunity.entity.SysDictData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 字典数据表 Mapper 接口
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface SysDictDataMapper extends BaseMapper<SysDictData> {

    /**
     * 根据字典类型查询字典数据
     */
    Page<SysDictData> selectAllByDictType(Page<SysDictData> page,String dictType,String dictLabel,String status);

    List<SysDictData> selectDictDataLabel(String dictType);

}
